package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.vo.MesBomVo;
import com.xinsoft.entity.dto.MesBomPageParam;
import com.xinsoft.entity.po.MesBom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hsm
* @description 针对表【mes_bom(BOM主表)】的数据库操作Mapper
* @createDate 2023-07-18 14:07:11
* @Entity com.xinsoft.entity.po.MesBom
*/
public interface MesBomMapper extends BaseMapper<MesBom> {
    /**
     * 分页查询
     * @param page
     * @param param
     * @return
     */
    IPage<MesBomVo> findListByParam(Page<?> page, @Param("param") MesBomPageParam param);

    void insertOrUpdateBatch(List<MesBom> mesBomList);
}




